package com.project.bean;

import java.time.LocalDate;
import java.util.List;

/**
 * 项目实体
 */
public class ProjectBean {
    /**
     * 项目id
     */
    private int managerId;
    /**
     * 项目名
     */
    private String name;
    /**
     * 用户名字
     */
    private String clientName;
    /**
     * 启动资金
     */
    private int startMoney;
    /**
     * 起始日期
     */
    private LocalDate startDate;
    /**
     * 完成日期
     */
    private LocalDate finishDate;
    /**
     * 参与项目日期
     */
    private LocalDate joinDate;
    /**
     * 交付日期
     */
    private LocalDate deliveryDate;
    /**
     * 项目状态
     */
    private String status="开发中";
    /**
     * 项目参与的人数
     */
    private  int nowLn;

    /**
     * 参加人员集合
     */
    private List<EmployeeBean> employeeList;

    /**
     * 项目剩余多少天
     */
    private  String remainDay;

    public ProjectBean() {
    }

    public ProjectBean(String name, String clientName, int startMoney, LocalDate startDate, LocalDate deliveryDate, String status) {
        this.name = name;
        this.clientName = clientName;
        this.startMoney = startMoney;
        this.startDate = startDate;
        this.deliveryDate = deliveryDate;
        this.status = status;
    }

    public int getNowLn() {
        return nowLn;
    }

    public void setNowLn(int nowLn) {
        this.nowLn = nowLn;
    }

    public String getRemainDay() {
        return remainDay;
    }

    public void setRemainDay(String remainDay) {
        this.remainDay = remainDay;
    }

    public int getManagerId() {
        return managerId;
    }

    public void setManagerId(int managerId) {
        this.managerId = managerId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public int getStartMoney() {
        return startMoney;
    }

    public void setStartMoney(int startMoney) {
        startMoney = startMoney;
    }

    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }

    public LocalDate getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(LocalDate deliveryDate) {
        deliveryDate = deliveryDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<EmployeeBean> getEmployeeList() {
        return employeeList;
    }

    public void setEmployeeList(List<EmployeeBean> employeeList) {
        this.employeeList = employeeList;
    }

    public LocalDate getFinishDate() {
        return finishDate;
    }

    public void setFinishDate(LocalDate finishDate) {
        this.finishDate = finishDate;
    }

    public LocalDate getJoinDate() {
        return joinDate;
    }

    public void setJoinDate(LocalDate joinDate) {
        this.joinDate = joinDate;
    }

    @Override
    public String toString() {
        return "ProjectBean{" +
                "managerId=" + managerId +
                ", name='" + name + '\'' +
                ", clientName='" + clientName + '\'' +
                ", startMoney=" + startMoney +
                ", startDate=" + startDate +
                ", finishDate=" + finishDate +
                ", joinDate=" + joinDate +
                ", deliveryDate=" + deliveryDate +
                ", status='" + status + '\'' +
                ", employeeList=" + employeeList +
                '}';
    }
}
